#include "graphics/graphics.h"

int main(int argc, char** argv)
{
    if(!griselda::graphics::init())
    {
        // failed to init
        return -1;
    }

    bool running = true;

    while(running)
    {
        // do something
        griselda::graphics::render();
        griselda::graphics::swap_buffers();
        running = griselda::graphics::window_is_open();
    }

    // shutdown graphics
    griselda::graphics::shutdown();

    return 0;
}
